###############################################
# === xenomorph_ringworld_brood_districts.txt ===
###############################################
###############################################
# Brood Ringworld Xenomorph Districts
###############################################

district_xenomorph_ring_continental_archives = {
	icon = district_generator
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_society_research_produces_mult = 0.08
		planet_pop_assembly_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_pleasure_wards = {
	icon = district_city
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_amenities_add = 8
		planet_jobs_unity_produces_mult = 0.06
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_maintenance_drone_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_entertainer_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_nutrient_terraces = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_food_produces_mult = 0.08
		planet_amenities_add = 3
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_ovipositor_network = {
	icon = district_city
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_brood
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_pop_assembly_mult = 0.10
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ringworld_fortress_districts.txt ===
###############################################
###############################################
# Fortress Ringworld Xenomorph Districts
###############################################

district_xenomorph_ring_war_vaults = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_engineering_research_produces_mult = 0.05
		planet_jobs_society_research_produces_mult = 0.05
		army_starting_experience_add = 25
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_chitin_shipyards = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_alloys_produces_mult = 0.06
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_prey_preserves = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_food_produces_mult = 0.05
		planet_jobs_unity_produces_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_warrior_hatcheries = {
	icon = district_arcology_fortress
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_fortress
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_defense_armies_add = 2
		army_starting_experience_add = 25
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_warrior_drone_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_soldier_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ringworld_foundry_districts.txt ===
###############################################
###############################################
# Foundry Ringworld Xenomorph Districts
###############################################

district_xenomorph_ring_macro_forge_labs = {
	icon = district_arcology_research_engineering
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_engineering_research_produces_mult = 0.10
		planet_jobs_alloys_produces_mult = 0.02
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_alloy_foundries = {
	icon = district_arcology_arms_industry
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_alloys_produces_mult = 0.12
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_biomass_fuel_segment = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_food_produces_mult = 0.04
		planet_jobs_minerals_produces_mult = 0.05
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_industrial_incubators = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld_foundry
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1200
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_pop_assembly_mult = 0.04
		planet_jobs_alloys_produces_mult = 0.03
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

###############################################
# === xenomorph_ringworld_world_districts.txt ===
###############################################
###############################################
# Ringworld Xenomorph Base Districts
###############################################

district_xenomorph_ring_archive_segment = {
	icon = district_generator
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_science
	is_uncapped = { always = yes }

	zone_slots = {
		slot_polytechnic
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_society_research_produces_mult = 0.10
		planet_jobs_engineering_research_produces_mult = 0.05
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_resin_segment = {
	icon = district_mining
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_foundry
	is_uncapped = { always = yes }

	zone_slots = {
		slot_empty
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_alloys_produces_mult = 0.08
		planet_jobs_minerals_produces_mult = 0.05
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_carapace_weaver_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_carapace_weaver_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_biomass_segment = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_food
	is_uncapped = { always = yes }

	zone_slots = {
		slot_food
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_jobs_food_produces_mult = 0.15
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_extraction_drone_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_extraction_drone_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}

district_xenomorph_ring_brood_segment = {
	icon = district_farming
	expansion_planner = yes
	base_buildtime = 600
	overlay_icon = GFX_district_hive
	is_uncapped = { always = yes }

	zone_slots = {
		slot_xenomorph_hive
	}

	show_on_uncolonized = {
		uses_district_set = xenomorph_infested_ringworld
	}

	potential = {
		uses_district_set = xenomorph_infested_ringworld
	}

	allow = {
		custom_tooltip = {
			fail_text = arcology_project_construction_fail_tt
			NOT = { has_planet_flag = arcology_project_construction }
		}
	}

	conversion_ratio = 1

	resources = {
		category = planet_districts
		cost = {
			minerals = 1000
		}
		upkeep = {
			energy = 2
		}
	}

	planet_modifier = {
		planet_housing_add = 1000
		planet_pop_assembly_mult = 0.10
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = yes }
		}
		modifier = {
			job_xenomorph_egg_caretaker_gestalt_add = 400
		}
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_gestalt = no }
		}
		modifier = {
			job_xenomorph_egg_caretaker_add = 400
		}
	}

	prerequisites = { "tech_hive_cluster" }
}
